package com.computergames.server.domain;

public enum MahjongTile {
    // 万字牌
    ONE_MAN(0), TWO_MAN(1), THREE_MAN(2), FOUR_MAN(3), FIVE_MAN(4),
    SIX_MAN(5), SEVEN_MAN(6), EIGHT_MAN(7), NINE_MAN(8),

    // 筒子牌
    ONE_PIN(9), TWO_PIN(10), THREE_PIN(11), FOUR_PIN(12), FIVE_PIN(13),
    SIX_PIN(14), SEVEN_PIN(15), EIGHT_PIN(16), NINE_PIN(17),

    // 条子牌
    ONE_SOA(18), TWO_SOA(19), THREE_SOA(20), FOUR_SOA(21), FIVE_SOA(22),
    SIX_SOA(23), SEVEN_SOA(24), EIGHT_SOA(25), NINE_SOA(26),

    // 风牌
    EAST_WIND(27), SOUTH_WIND(28), WEST_WIND(29), NORTH_WIND(30),

    // 箭牌
    RED_DRAGON(31), GREEN_DRAGON(32), WHITE_DRAGON(33),

    // 四季牌
    SPRING(34), SUMMER(35), AUTUMN(36), WINTER(37),

    // 八花牌
    MELON(38), ORCHID(39), CHERRY_BLOSSOM(40), PLUM_BLOSSOM(41),
    BAMBOO(42), CHRYSANTHEMUM(43), PEONY(44), LOTUS(45);

    private final int value;

    MahjongTile(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
